package game.buildings;

/**
 *	@(#)Mannable.java
 *
 *	The <code>Mannable</code> interface provides fields and
 *	methods to represent a mannable building.
 *
 *	@author Grzegorz Kobiela
 *	@version 1.0 2008/4/23
 */
public interface Mannable
{
	/**
	 *	Sets the worker.
	 *	@param worker the worker
	 */
	public void setWorker(game.Worker worker);

	/**
	 *	Returns the worker.
	 *	@return the worker
	 */
	public game.Worker getWorker();

	/**
	 *	Returns true if the building is manned.
	 *	@return true if the building is manned
	 */
	public boolean isManned();
}